pathbar: Don't do the same thing twice.
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:53:20 +0000 (05:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:53:20 +0000 (05:53 +0100)
Don't do the same thing twice.

gtk/gtkpathbar.c

index b257e1b4d1fd09164fecb0dfefb277b70fe06298..6e1599b69ee19be30e93c60a9eab6c5d7895e339 100644 (file)
@@ -201,8 +201,6 @@ gtk_path_bar_init (GtkPathBar *path_bar)
   GtkPathBarPrivate *priv = gtk_path_bar_get_instance_private (path_bar);
   GtkEventController *controller;
 
-  priv = gtk_path_bar_get_instance_private (path_bar);
-
   priv->up_slider_button = gtk_button_new_from_icon_name ("pan-start-symbolic");
   gtk_widget_set_parent (priv->up_slider_button, GTK_WIDGET (path_bar));